package com.bukkit.kazimir.TeamGames;

import java.util.logging.Logger;

import org.bukkit.Material;
import org.bukkit.Server;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.block.BlockListener;
import org.bukkit.event.block.BlockPlaceEvent;

public class TeamsBlockListener
    extends BlockListener {

    private final Server server; // Quick access to the server

    private final TeamGames parent; // The plugin core is our portal to the rest of the server.

    private final Logger log = Logger.getLogger( "Minecraft" );

    public TeamsBlockListener( TeamGames parent ) {
        this.parent = parent;
        this.server = parent.getServer();
    }

    // Stubbed
    public void onBlockPlace( BlockPlaceEvent event ) {
        Player player = event.getPlayer();
        Block block = event.getBlockPlaced();
    }
}
